/** ###################################################################
**     Filename  : Timestamp.H
**     Project   : Motologger_v2
**     Processor : MC9S12XA256CFU
**     Compiler  : CodeWarrior HCS12X C Compiler
**     Date/Time : 12/7/2009, 1:13 AM
**     Contents  :
**         User source code
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2007
**     UNIS, spol. s r.o.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/

#ifndef __Timestamp_H
#define __Timestamp_H

/* MODULE Timestamp */

//resets the count -- called in events to sync to UTC seconds
void Timestamp_Reset(void);

//initialize the module. call before use.
void Timestamp_Init(void);

//called in events to update count
void Timestamp_Update(void);

//returns a timestamp in ms since the last reset
unsigned short Timestamp_GetVal(void);




/* END Timestamp */

#endif

